#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Friendship.nanopb.h"
#define MAX_FRIENDSHIP_FRIENDSHIP_NUM 16

class FriendshipFriendshipDesc : public NFIDescTemplate<FriendshipFriendshipDesc, E_FriendshipFriendship, EOT_CONST_FRIENDSHIP_FRIENDSHIP_DESC_ID, MAX_FRIENDSHIP_FRIENDSHIP_NUM>
{
public:
	FriendshipFriendshipDesc();
	virtual ~FriendshipFriendshipDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
